<!DOCTYPE html>
<html xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<head>
	<th:block th:include="include/src :: form_base_js_and_css"/>
</head>
<body style="background-color: #f2f2f2; height: 100%;">
	
	<script type="text/html" id="toolbar_in_form">
	</script>

	<div id="id_panel">
	</div>
	<script th:inline="javascript">
	// 表单初始化
	var formObj = null;
	var dto = {"deleteBtn":{"state":0},
"flowLogBtn":{"state":0},
"flowPassBtn":{"state":0},
"flowRefuseBtn":{"state":0},
"rows":[
{"code":"code","formHidden":0,"formLength":1,"name":"预支账户编码","required":0,"stateReadonly":0,"type":"t_text"},
{"code":"name","formHidden":0,"formLength":1,"name":"预支账户名称","required":0,"stateReadonly":0,"type":"t_text"},
{"code":"canUseMoney","formHidden":0,"formLength":1,"name":"账户可用金额","required":0,"stateReadonly":0,"type":"t_text"},
{"code":"accountType","dictKey":"TCW_AdvanceAccount-accountType","formHidden":0,"formLength":1,"name":"账户性质","required":1,"stateReadonly":0,"type":"t_dropdown"},
{"code":"userBankInfoId","formHidden":1,"formLength":1,"modalRelativeCode":"","modalValueCode":"","name":"员工银行账户ID，关联TS_UserBankInfo","required":0,"stateReadonly":0,"type":"t_text"},
{"code":"partnerBankInfoId","formHidden":1,"formLength":1,"name":"合作商账户id","required":0,"stateReadonly":0,"type":"t_text"},
{"code":"orgid","formHidden":1,"formLength":1,"modalRelativeCode":"orgName","modalValueCode":"orgid","name":"机构id","required":0,"stateReadonly":0,"type":"t_text"},
{"code":"userId","formHidden":1,"formLength":1,"modalRelativeCode":"orgName","modalValueCode":"userId","name":"用户工号","required":0,"stateReadonly":0,"type":"t_text"},
{"code":"orgName","formHidden":0,"formLength":1,"modalKey":"TS_OrganizationInfo_WithUser","modalValueCode":"orgName","name":"账户管理部门","required":1,"stateReadonly":0,"type":"t_buttontext"},
{"code":"_ys_nameLinked","formHidden":0,"formLength":1,"modalRelativeCode":"orgName","modalValueCode":"_ys_nameLinked","name":"账户管理负责人","required":0,"stateReadonly":1,"type":"t_text"},
{"code":"roleName","formHidden":0,"formLength":1,"modalRelativeCode":"orgName","modalValueCode":"roleName","name":"负责人岗位","required":0,"stateReadonly":0,"type":"t_text"},
{"code":"_ys_vyhzhmc","formHidden":0,"formLength":1,"modalRelativeCode":"","modalValueCode":"","name":"银行账户名称","required":0,"stateReadonly":1,"type":"t_text"},
{"code":"_ys_vkhh","formHidden":0,"formLength":1,"modalRelativeCode":"","modalValueCode":"","name":"开户行","required":0,"stateReadonly":0,"type":"t_text"},
{"code":"_ys_vyhzh","formHidden":0,"formLength":1,"modalRelativeCode":"","modalValueCode":"","name":"银行账户编码","required":0,"stateReadonly":0,"type":"t_text"},
{"code":"totalPriceByRecharge","formHidden":0,"formLength":1,"name":"账户备用金额","required":0,"stateReadonly":0,"type":"t_text"},
{"code":"totalPriceByOther","formHidden":0,"formLength":1,"name":"台账总金额","required":0,"stateReadonly":0,"type":"t_text"},
{"code":"totalPriceBySubmit","formHidden":0,"formLength":1,"name":"台账报销金额","required":0,"stateReadonly":0,"type":"t_text"},
{"code":"advanceLimit","formHidden":0,"formLength":1,"name":"预支额度","required":1,"stateReadonly":0,"type":"t_number"},
{"code":"status","dictKey":"CHECKBOX_YES_NO","formHidden":0,"formLength":1,"name":"是否启用","required":0,"stateReadonly":0,"type":"t_checkbox"},
{"code":"accountTypeByModal","formHidden":1,"formLength":1,"modalRelativeCode":"","modalValueCode":"","name":"账户性质对应账号类型","required":0,"stateReadonly":0,"type":"t_text"},
{"code":"ope","formHidden":0,"formLength":1,"name":"操作","required":0,"stateReadonly":0,"type":"t_self_define_tpl"}
]
,"saveBtn":{"pathCommit":"/api/inter/xxx/xxx","state":1},
"urlUpload":"https://file.mini-ease.com/api/outer/upload/uploadForERP_1_0","valueMap":{}};
	//使用layui的sku模块
	layui.config({
		//自定义layui组件的目录,设定扩展的layui模块的所在目录，一般用于外部模块扩展
		base: '/static/js/layui_extends/'
	}).use(['form', 'jquery', 'laydate', 'YsForm', 'YsModal'], function(){
		var $ = layui.jquery,
		form = layui.form,
		laydate = layui.laydate,
		YsForm = layui.YsForm,
		YsModal = layui.YsModal
		/* 
		* 表单初始化
		* 参数1：表单配置参数
		* 参数2：子表配置参数
		*/
		formObj = YsForm.init(
		{
			id:'id_panel', // 页面容器ID
			dto: dto
		}
		);
	});
	</script>

</body>
</html>